package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.*;

import java.io.IOException;
import java.util.List;

/**
 * 邊角料 业务层
 *
 * @author C3007106
 */
public interface ILeftoverOutService {
    List<LeftoverOutDetail> selectLeftoverOutList(LeftoverOutDetail leftoverOutDetail);

    LeftoverOutDetail selectLeftoverOutByTableId(String tableId);

    int updateLeftoverOutDetail(LeftoverOutDetail leftoverOutDetail);

    int insertLeftoverOut(LeftoverOutMessage leftoverOutMessage, LeftoverOutDetail[] leftoverInDetails) throws IOException;

    int updateLeftoverOutState(LeftoverOut leftoverOut);

    List<Series> handelData();

    List<OutChart> selectLeftoverOutChart(LeftoverOutDetail leftoverOutDetail);
}
